C++ Objects in Db2
نویسندگان
چکیده
In today's heterogeneous development environments, application programmers have the responsibility to segment their application data and store relational data in RDBMSs, C++ objects in OODBMSs, SOM objects in OMG persistent stores, and OpenDoc or OLE compound documents in document les. In addition, they must deal with multiple server systems with diierent query languages as well as large amounts of heterogeneous data. This paper describes SMRC, 1 an RDBMS extender that provides the ability to store objects created in external type systems like C++ or SOM in a relational database, co-resident with existing relational or other heterogeneous data. Using SMRC, applications can store and retrieve objects via standard SQL query language and invoke methods on the objects, without requiring any modiications to the original object deenitions. Furthermore, the stored objects fully participate in all the characteristic features of the underlying relational database, e.g., transactions, backup, and authorization. SMRC is implemented on top of IBM's DB2 Common Server for AIX relational database system and heavily exploits its User-Deened Types (UDTs), User-Deened Functions (UDFs), and Large Objects (LOBs) technology. In this paper, the C++ type system is used as a sample external type system to exemplify the SMRC approach, i.e., C++ objects are stored in relational databases. Similar eeorts are required for SOM or OLE objects. 1 SMRC stands for Shared Memory-Resident Cache; we pronounce ittsmarc]. SMRC is available on CompuServe under the GO DB2 area.
منابع مشابه
The categories of lattice-valued maps, equalities, free objects, and $mathcal C$-reticulation
In this paper, we study the concept of $mathcal C$-reticulation for the category $mathcal C$ whose objects are lattice-valued maps. The relation between the free objects in $mathcal C$ and the $mathcal C$-reticulation of rings and modules is discussed. Also, a method to construct $mathcal C$-reticulation is presented, in the case where $mathcal C$ is equational. Some relations between the conce...
متن کاملSelf-tuning Page Cleaning in DB2
Storage management is an important part of DB2. The buffer pool in DB2 is used to catch the disk pages of the database, and its management algorithm can significantly affect performance. Because of the complexity of DB2 and the workloads running on it, the buffer pool management algorithm is hard to study, config, and tune. In order to investigate the buffer pool management algorithm under cont...
متن کاملAnalyzing DB2 Data Sharing Performance Problems
DB2 data sharing offers many advantages in the right environment, and performs very well when DB2 is properly tuned. DB2 data sharing can significantly increase capacity, it offers increased availability, and it provides a flexible operating environment. In certain environments, DB2 data sharing can dramatically improve performance of DB2 subsystems (e.g., when most data are shared and most of ...
متن کاملAn Object Placement Advisor for DB2 Using Solid State Storage
Solid state disks (SSDs) provide much faster random access to data compared to conventional hard disk drives. Therefore, the response time of a database engine could be improved by moving the objects that are frequently accessed in a random fashion to the SSD. Considering the price and limited storage capacity of solid state disks, the database administrator needs to determine which objects (ta...
متن کاملConfiguring buffer pools in DB2 UDB
Database Management Systems (DBMSs) use a main memory area as a buffer to reduce the number of disk accesses performed by a transaction. DB2 Universal Database divides the buffer area into a number of independent buffer pools and each database object (table or index) is assigned to a specific buffer pool. The tasks of configuring the buffer pools, which defines the mapping of database objects t...
متن کامل